<!DOCTYPE html>
<html>
  <head>
    <title>用户登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: #2c3e50;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transform: scale(1.4);
}

.container {
  max-width: 400px;
  padding: 20px;
  position: relative;
}

table {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
}

td {
  padding: 20px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

input[type="submit"] {
  padding: 12px 25px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
}

input[type="reset"] {
  padding: 12px 25px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

input[type="reset"]:hover {
  background-color: #45a049;
}

.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.button-container input[type="reset"] {
  vertical-align: middle;
}
</style>
  </head>
  <body>
    <table>
      <tr>
        <td>用户名</td>
        <td>
          <input type="text" name="username" placeholder="2~8位，大小写字母结合"/>
        </td>
      </tr>
      <tr>
        <td>密码</td>
        <td>
          <input type="password" placeholder="6~16位，纯数字"/>
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <div class="button-container">
            <input type="submit" name="tijiao" value="登录" onclick="window.location.href='index.html'"/>
            <input type="reset" name="quxiao" value="重置" onclick="window.location.reload()"/>
          </div>
        </td>
      </tr>
    </table>
  </body>
</html>